package com.travel.Bean;


import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity(name = "record")
@ApiModel("购票记录")

public class Record {
    @org.springframework.data.annotation.Id
    @Id
    private String record_id;      //门票id
    private String order_id;        //订单号
    private String record_time;        //购票时间
    private String record_userid;      //购票用户
    private String record_entity_id;       //用票人id
    private Integer ticket_id;      //门票项目id
    private String record_type;        //门票类型
    private float record_amount;      //0、成人
    private String record_state;       //1、儿童
    private String record_remarks;     //2、学生


    Record(String record_entity_id, String record_type, Integer ticket_id){
        this.record_entity_id = record_entity_id;
        this.record_type = record_type;
        this.ticket_id = ticket_id;
    }

    public Record() {

    }
}
